-- GENERATED SPELL FOR [Ice Serpent] --


function spell0_26446(pUnit, Event) --@Ice Slash,n/a--
pUnit:FullCastSpellOnTarget(51878,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26446', 10330, 1)
end

function Sorts_26446(pUnit, Event)
local choix_sorts_26446 = math.random(0, 0)
if choix_sorts_26446 == 0 then
pUnit:RegisterEvent('spell0_26446', 1, 1)
end
end

function mob26446_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26446', math.random(1500, 3000), 1)
end

function mob26446_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26446_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26446_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26446, 1, 'mob26446_Action')
RegisterUnitEvent(26446, 2, 'mob26446_Leave')
RegisterUnitEvent(26446, 3, 'mob26446_Kill')
RegisterUnitEvent(26446, 4, 'mob26446_Die')
